package com.atguigu.spzx.model.entity.product;

import com.atguigu.spzx.model.entity.base.BaseEntity;
import lombok.Data;

@Data
public class Category extends BaseEntity {
    private String name;
    private String imageUrl;
    private Long parentId;
    //1显示 0不显示
    private Integer status;
    // 排序字段：
    private Integer orderNum;
    //分类是否存在下一级
    private Boolean hasChildren;
}
